﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    /// <summary>
    /// 系统接入
    /// </summary>
    public partial class SubSystemModel
    {
       
        
        public SubSystemModel()
        {
        }

        /// <summary>
        /// 主键Id
        /// </summary>
        /// <value>主键Id</value>
        [HiddenInput]
        public Guid Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        /// <value>名称</value>
        [Display(Name = "名称")]
        public string Name { get; set; }
        
        /// <summary>
        /// 系统代码
        /// </summary>
        [Display(Name = "系统代码")]
        public string Code { get; set; }

        /// <summary>
        /// 系统服务地址
        /// </summary>
        [Display(Name = "系统服务地址")]
        public string ServUrl { get; set; }
        /// <summary>
        /// 用于OAuth的ClientID
        /// </summary>
        [Display(Name = "ClientId")]
        public string ClientId { get; set; }
        /// <summary>
        /// 用于OAuth的ClientSecret
        /// </summary>
        [Display(Name = "ClientSecret")]
        public string ClientSecret { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Display(Name = "备注"), DataType(DataType.MultilineText)]
        public string Remark { get; set; }
 
    }
}